package com.alex.cms.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 友情链接表
 * </p>
 *
 * @author alex
 * @since 2019-10-24
 */
public class CmsFriendshipUrl implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 友情链接文本
     */
    @TableField("text")
    private String text;

    /**
     * 友情链接地址
     */
    @TableField("url")
    private String url;

    /**
     * 添加时间
     */
    @TableField("created")
    private Date created;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }
    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
    public Date getCreated() {
        return created;
    }

    public void setCreated(Date created) {
        this.created = created;
    }

    @Override
    public String toString() {
        return "CmsFriendshipUrl{" +
            "id=" + id +
            ", text=" + text +
            ", url=" + url +
            ", created=" + created +
        "}";
    }
}
